package br.ufmg.ubicomp.droidguide.eventservice;

import java.util.Timer;
import java.util.TimerTask;

public class DroidGuideTask extends Timer {

	private String name;
	private boolean toStop;
	private TimerTask task;
	
	public DroidGuideTask(String name, TimerTask task) {
		super(name);
		this.name = name;
		this.task = task;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public boolean isToStop() {
		return toStop;
	}
	public void setToStop(boolean toStop) {
		this.toStop = toStop;
	}

	public TimerTask getTask() {
		return task;
	}

	public void setTask(TimerTask task) {
		this.task = task;
	}
	
}
